#include "BBActivity.h"
#include "BBEventDispatcher.h"

BBActivity* BBActivity::loadActivity( const char* activityXml )
{
	BBActivity* activity = new BBActivity();
	if(activity)
	{
		return activity;
	}
	BB_SAFE_DELETE(activity);
	return NULL;
}


BBActivity::BBActivity( void )
	:m_pDispatcher(NULL)
{

}

BBActivity::~BBActivity( void )
{

}

void BBActivity::render()
{
	
}



void BBActivity::setActive(bool var)
{
	m_bIsActive = var;
}

bool BBActivity::getActive()
{
	return m_bIsActive;
}

void BBActivity::setActiveID(int var)
{
	m_iActiveID = var;
}

int BBActivity::getActiveID()
{
	return m_iActiveID;
}

BBEventDispatcher* BBActivity::getDispatcher()
{
	return m_pDispatcher;
}

